package com.xinchuang.mapper;

import com.xinchuang.entity.ServerTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2023-10-23
 */
public interface ServerTableMapper extends BaseMapper<ServerTable> {

    @Select(value = "select * FROM server_table LIMIT 1")
    ServerTable getOnly();

}
